package com.dcjt.firehotcarpad.entity
import com.google.gson.annotations.SerializedName

/**
 * 车辆作战信息
 */
data class CarZZXX(
    @SerializedName("clxx")
    val clxx: Clxx?,
    @SerializedName("jjd")
    val jjd: Jjd?,
    @SerializedName("syxx")
    val syxx: Syxx?,
    @SerializedName("zqxx")
    val zqxx: Zqxx?
)

/**
 * 车辆信息
 */
data class Clxx(
    @SerializedName("cdfs")
    val cdfs: Int?,
    @SerializedName("cf_cjxx_id")
    val cfCjxxId: String?,
    @SerializedName("clid")
    val clid: String?,
    @SerializedName("clzzzt")
    val clzzzt: String?,
    @SerializedName("ddsj")
    val ddsj: String?,
    @SerializedName("gis_x")
    val gisX: String?,
    @SerializedName("gis_y")
    val gisY: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("syid")
    val syid: String?,
    @SerializedName("zzwz")
    val zzwz: String?
)

/**
 * 集结点
 */
class Jjd : ArrayList<JjdItem>()

data class JjdItem(
    @SerializedName("bhlx")
    val bhlx: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("mc")
    val mc: String?,
    @SerializedName("xy")
    val xy: String?
)

/**
 * 水源信息
 */
data class Syxx(
    @SerializedName("gis_x")
    val gisX: String?,
    @SerializedName("gis_y")
    val gisY: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("kyzt")
    val kyzt: Any?,
    @SerializedName("sydz")
    val sydz: String?,
    @SerializedName("sylx")
    val sylx: String?,
    @SerializedName("symc")
    val symc: String?
)

/**
 * 灾情信息
 */
data class Zqxx(
    @SerializedName("ajdjbh")
    val ajdjbh: String?,
    @SerializedName("ajdjmc")
    val ajdjmc: String?,
    @SerializedName("ajlx")
    val ajlx: String?,
    @SerializedName("ajlxmc")
    val ajlxmc: String?,
    @SerializedName("ajztbh")
    val ajztbh: String?,
    @SerializedName("ajztmc")
    val ajztmc: String?,
    @SerializedName("bjsj")
    val bjsj: String?,
    @SerializedName("gis_x")
    val gisX: String?,
    @SerializedName("gis_y")
    val gisY: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("lasj")
    val lasj: String?,
    @SerializedName("lxdh")
    val lxdh: String?,
    @SerializedName("lyxx")
    val lyxx: String?,
    @SerializedName("sfdz")
    val sfdz: String?,
    @SerializedName("xzqdm")
    val xzqdm: String?,
    @SerializedName("xzqmc")
    val xzqmc: String?,
    @SerializedName("zgdw")
    val zgdw: String?
)

/**
 * 获取本车信息
 */
data class CarCurrentDetailEntity(
    @SerializedName("clxx")
    val clxx: CarState?,
    @SerializedName("zzbxx")
    val zzbxx: Zzbxx?
)

/**
 * 车辆详情
 */
data class CarState(
    @SerializedName("cldjdm")
    val cldjdm: String?,
    @SerializedName("cldjmc")
    val cldjmc: String?,
    @SerializedName("cljc")
    val cljc: String?,
    @SerializedName("cllxdm")
    val cllxdm: String?,
    @SerializedName("cllxmc")
    val cllxmc: String?,
    @SerializedName("clmc")
    val clmc: String?,
    @SerializedName("clzzzt")
    val clzzzt: String?,
    @SerializedName("clzzztmc")
    val clzzztmc: String?,
    @SerializedName("cphm")
    val cphm: String?,
    @SerializedName("dept_id")
    val deptId: String?,
    @SerializedName("dept_name")
    val deptName: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("sb")
    val sb: String?,
    @SerializedName("xcbyrq")
    val xcbyrq: String?,
    @SerializedName("ywjq")
    val ywjq: Boolean?,
    @SerializedName("jqid")
    val jqid: String?,
    @SerializedName("zrrxm")
    val zrrxm: String?
)

/**
 * 作战班信息
 */
data class Zzbxx(
    @SerializedName("dept_id")
    val deptId: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("mc")
    val mc: String?
)